#include "def.h"

void SearchVex(Graph &G){
	cout<<"请输入你想查询的景点：(1-8,输入-1返回)"<<endl;
	int choice;
	while(choice!=-1){
		cin>>choice;
		cout<<"景点："<<G.vexs[choice-1].name<<endl;
		cout<<"介绍："<<G.vexs[choice-1].info<<endl;
	}
	system("cls");
	return;
}